package com.xhorse.lockplatform.dao.mapper;


import com.xhorse.lockplatform.comm.persist.BaseMapper;
import com.xhorse.lockplatform.model.pojo.BrandInfo;
import com.xhorse.lockplatform.model.XhBrand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XhBrandMapper extends BaseMapper<XhBrand> {

    XhBrand selectBrandInfo(XhBrand xhBrand);

    void updateSelective(XhBrand xhBrand);

    int updateBatchByModelId(List<XhBrand> brand);

    int findMaxVersion(@Param("dbversion") String dbversion, @Param("languageId") int languageId);

    List<BrandInfo> selectByParam(@Param("dbversion") String dbversion, @Param("languageId") int languageId);
}